package org.gpf.simpleFactory.operaiton;
/**
 * 运算的抽象类
 * @author gaopengfei
 * @date 2015-4-26 上午11:46:10
 */
public abstract class Operation {

	private double number1 = 0; // 两个操作数
	private double number2 = 0;
	
	public double getNumber1() {
		return number1;
	}
	public void setNumber1(double number1) {
		this.number1 = number1;
	}
	public double getNumber2() {
		return number2;
	}
	public void setNumber2(double number2) {
		this.number2 = number2;
	}
	
	public abstract double getResult();
}
